﻿using System.Windows;

namespace Socium.Drawing {
	static class Rects {
		public static Point Center(this Rect rect) {
			return new Point((rect.Left + rect.Right) / 2.0, (rect.Top + rect.Bottom) / 2.0);
		}
	}
}
